package chain;

/**
 * @name AlgorithmDemo2
 * @class name：PACKAGE_NAME
 * @class describe
 * @anthor Jackfruit
 * @time 2020/8/31 20:39
 * @change
 * @changTime
 */
public class Task1 implements IBaseTask {
  @Override
  public void doNation(boolean isTask, IBaseTask task) {
    System.out.println("我是任务1");
    if (isTask) {
      return;
    }
    task.doNation(false, task);
  }
}
